//2009/09/09 08:31:39
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class BagOfHolding
{
public:
    double oddsReachable(vector <int> sizes, int item)
    {
        int b=0;
        for (int i=0;i<sizes.size();i++)
            if (sizes[i]>=sizes[item])
                b++;
        return 1.0/b;
    }
};
